<?php

namespace app\common\model;

use app\common\basic\BaseModel;

class IntoOrder extends BaseModel
{
    protected $table = 'vk_into_order';

    public function related() {
        return $this->morphTo();
    }

    public function dealer() {
        return $this->belongsTo(Dealer::class, 'dealer_id', 'id');
    }
    
}